import request from '@/utils/request'

export function getGridList(data){
    return request({
        url:'/gridlist',
        method:'get',
        params:data
    });
}

export function editGrid(data){
    return request({
       url:'/editgrid',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getGridInfo(data){
    return request({
       url:'/gridinfo',
       method:'get',
       params:data
    });
}

export function delGrid(data){
   return request({
      url:'/delgrid',
      method:'get',
      params:data
   });
}

export function getAllGridList(data){
   return request({
      url:'/allgridlist',
      method:'get',
      params:data
   });
}
